-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
6.0.4 (latest)
-
Code
-
Classes
- AdminNoticeModel
Total Complexity |
31 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
146 |
Lines of code |
86 |
Logical lines of code |
46 |
Comment lines |
8 |
Methods |
13 |
Properties |
8 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
load() |
A |
55 |
8 |
20 |
add() |
S |
51 |
7 |
28 |
isDismissed() |
S |
70 |
3 |
6 |
reset() |
S |
75 |
2 |
4 |
addManual() |
S |
69 |
2 |
7 |
getData() |
S |
70 |
2 |
7 |
checkTrigger() |
S |
100 |
1 |
0 |
getMessage() |
S |
100 |
1 |
0 |
__construct() |
S |
91 |
1 |
2 |
getKey() |
S |
82 |
1 |
3 |
checkReset() |
S |
82 |
1 |
3 |
getNoticeObj() |
S |
82 |
1 |
3 |
addData() |
S |
80 |
1 |
3 |